package aaa;

public class Test {

	Long id;

	Long id2;

	String name;

	ChildA childA;

	ChildCB childCB;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId2() {
		return id2;
	}

	public void setId2(Long id2) {
		this.id2 = id2;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void print() {
		System.out.println("\n" + this.getClass().getSimpleName());
		System.out.println("id - " + id);
		System.out.println("id2 - " + id2);
	}

	public ChildA getChildA() {
		return childA;
	}

	public void setChildA(ChildA childA) {
		this.childA = childA;
	}

	public ChildCB getChildCB() {
		return childCB;
	}

	public void setChildCB(ChildCB childCB) {
		this.childCB = childCB;
	}

}
